// P1510 write by cn_ryh